#include "StdAfx.h"
#include "ResourceManager.h"

HBRUSH	CResourceManager::s_blankBrush		= (HBRUSH)GetStockObject(NULL_BRUSH);
HBRUSH	CResourceManager::s_greenBrush		= CreateSolidBrush(RGB(0,255,0));
HBRUSH	CResourceManager::s_RedBrush		= CreateSolidBrush(RGB(255,0,0));
HPEN	CResourceManager::s_purplePen		= CreatePen( PS_SOLID, 1, RGB(255,0,0) );
HPEN	CResourceManager::s_greenLinePen	= CreatePen( PS_SOLID, 1, RGB(0,255,0) );
HPEN	CResourceManager::s_blackLinePen	= CreatePen( PS_SOLID, 1, RGB(0,0,0) );
HPEN	CResourceManager::s_blackDotPen		= CreatePen( PS_DOT, 1, RGB(0,0,0) );
HPEN	CResourceManager::s_greenLineDotPen = CreatePen( PS_DOT, 1, RGB(0,255,0) );
HPEN	CResourceManager::s_redPen			= CreatePen( PS_SOLID, 1, RGB(255,0,0) );
HPEN	CResourceManager::s_redBoldPen		= CreatePen( PS_SOLID, 2, RGB(255,0,0) );
//HDC		CResourceManager::s_mdc;
//////////////////////////////////////////////////////////////////////////
HCURSOR CResourceManager::sm_nesw			= AfxGetApp()->LoadStandardCursor(IDC_SIZENESW);
HCURSOR CResourceManager::sm_ns				= AfxGetApp()->LoadStandardCursor(IDC_SIZENS);
HCURSOR CResourceManager::sm_nwse			= AfxGetApp()->LoadStandardCursor(IDC_SIZENWSE);
HCURSOR CResourceManager::sm_we				= AfxGetApp()->LoadStandardCursor(IDC_SIZEWE);
HCURSOR CResourceManager::sm_all			= AfxGetApp()->LoadStandardCursor(IDC_SIZEALL);
HCURSOR CResourceManager::sm_normal			= AfxGetApp()->LoadStandardCursor(IDC_ARROW);
//************************************
// Note: 
// Name: FXFX Time: 2009-08
CMyRichEditCtrl*			CResourceManager::s_textEdit=new CMyRichEditCtrl();

//************************************


CResourceManager::CResourceManager(void)
{

}

CResourceManager::~CResourceManager(void)
{
	
}
// HDC CResourceManager::createMdc( HDC p_dc, int p_width, int p_height )
// {
// 	s_mdc = CreateCompatibleDC(p_dc);
// 	HBITMAP bmp = CreateCompatibleBitmap( p_dc, p_width, p_height );
// 	SelectObject( s_mdc, bmp );
// 	DeleteObject(bmp);
// 	return s_mdc;
// }

// void CResourceManager::deleteDC()
// {
// 	DeleteDC(s_mdc);
// }